module.exports = (function () {
    var express = require('express');
    var router = express.Router();
    var path = require('path');
    var request = require('request').defaults({
        json: true
    });

    router.get('/', function (req, res, next) {
        var summaryHelper = require('./../service/summaryHelper.js');
        summaryHelper.stasticChange(44, '2015-4-1', '2015-10-1').then(function (data) {
            res.json(data);
        });
    });
    return router;
})();
